-
Notifications
You must be signed in to change notification settings - Fork 427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Warehouse create and alter properties #598
Conversation
@@ -11,12 +11,13 @@ import ( | |||
) | |||
|
|||
// warehouseCreateProperties are only available via the CREATE statement | |||
var warehouseCreateProperties = []string{"initially_suspended", "wait_for_provisioning", "statement_timeout_in_seconds"} | |||
var warehouseCreateProperties = []string{"initially_suspended", "wait_for_provisioning"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these should probably ForceNew
@@ -103,6 +104,20 @@ var warehouseSchema = map[string]*schema.Schema{ | |||
ForceNew: false, | |||
Description: "Specifies the time, in seconds, after which a running SQL statement (query, DDL, DML, etc.) is canceled by the system", | |||
}, | |||
"statement_queued_timeout_in_seconds": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to add these to Read+Update
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe just Read actually
Integration tests failure for 89edc5af14d2552b63930f3f3d1c9a67e3046350 |
Integration tests failure for 442f08ff98097275ede2681dee7fb8f887abd2e3 |
Integration tests failure for 634a24f375aa07b0c6e647ad693ce7d2d5170117 |
Integration tests success for b1ea85ddc1d4fc95dcb10c71596cc59a370f7fd0 |
Addressing: #583
Adding optional parameters to list of properties. Already had
statement_timeout_in_seconds
but added the other two parameters (which are available in both create and alter).Test Plan
References